<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">

<ui:composition>
	<p:tabView>
		<p:tab title="English" style="width:100%">
			<h:panelGrid columns="2" style="width:100%">
				<h:outputText value="Name" />
				<p:inputText value="#{productThemeModel.current.name}" style="width:100%" />
				<h:outputText value="Is Active" />
				<p:selectBooleanCheckbox value="#{productThemeModel.current.isActive}"></p:selectBooleanCheckbox>
				<h:outputText value="Recommend index" />
				<p:inputText value="#{productThemeModel.current.recommendIndex}" style="width:100%" />
				<h:outputText value="Description" />
				<p:inputTextarea value="#{productThemeModel.current.description}"
					style="width:100%;height:150px"></p:inputTextarea>
			</h:panelGrid>
		</p:tab>
		<p:tab title="Chinese">
			<h:panelGrid columns="2" style="width:100%">
				<h:outputText value="Name" />
				<p:inputText value="#{productThemeModel.current.chineseName}" style="width:100%" />
				<h:outputText value="Description" />
				<p:inputTextarea value="#{productThemeModel.current.chineseDescription}"
					style="width:100%;height:150px"></p:inputTextarea>
			</h:panelGrid>
		</p:tab>
		<p:tab title="French">
			<h:panelGrid columns="2" style="width:100%">
				<h:outputText value="Name" />
				<p:inputText value="#{productThemeModel.current.frenchName}" style="width:100%" />
				<h:outputText value="Description" />
				<p:inputTextarea value="#{productThemeModel.current.frenchDescription}"
					style="width:100%;height:150px"></p:inputTextarea>
			</h:panelGrid>
		</p:tab>
	</p:tabView>

</ui:composition>
</html>